package com.google.code.b0rx0r;

import com.google.code.b0rx0r.advancedSamplerEngine.AudioProcessor;
import com.google.code.b0rx0r.advancedSamplerEngine.Enqueueable;
import com.google.code.b0rx0r.advancedSamplerEngine.AudioProcessor.EnqueuedEnqueueable;

public class Stoppable {

	private EnqueuedEnqueueable ee;
	private AudioProcessor ap;

	public Stoppable(EnqueuedEnqueueable ee, AudioProcessor ap) {
		this.ee = ee;
		this.ap = ap;
	}
	
	public void stop() {
		ap.dequeue(ee);
	}
	

}
